package cn.angleline.cloudhub.easbi.yzj.entity

import com.fasterxml.jackson.annotation.JsonProperty

data class AccessToken(
        @JsonProperty("errorCode") val errorCode: Long? = null,
        @JsonProperty("data") val data: Data,
        @JsonProperty("success") val success: Boolean? = false
)

data class Data(
        @JsonProperty("accessToken") val accessToken: String? = null,
        @JsonProperty("expireIn") val expireIn: Int? = null,
        @JsonProperty("refreshToken") val refreshToken: String? = null
)